package cn.harvest.storage.po;

import java.util.HashSet;
import java.util.Set;

/**
 * Permission entity. @author MyEclipse Persistence Tools
 */

public class Permission implements java.io.Serializable {

	// Fields

	private Integer permissionId;
	private String permissionName;
	private String permissionNews;
	private Set employees = new HashSet(0);

	// Constructors

	/** default constructor */
	public Permission() {
	}

	/** full constructor */
	public Permission(String permissionName, String permissionNews,
			Set employees) {
		this.permissionName = permissionName;
		this.permissionNews = permissionNews;
		this.employees = employees;
	}

	// Property accessors

	public Integer getPermissionId() {
		return this.permissionId;
	}

	public void setPermissionId(Integer permissionId) {
		this.permissionId = permissionId;
	}

	public String getPermissionName() {
		return this.permissionName;
	}

	public void setPermissionName(String permissionName) {
		this.permissionName = permissionName;
	}

	public String getPermissionNews() {
		return this.permissionNews;
	}

	public void setPermissionNews(String permissionNews) {
		this.permissionNews = permissionNews;
	}

	public Set getEmployees() {
		return this.employees;
	}

	public void setEmployees(Set employees) {
		this.employees = employees;
	}

}